/**
 * Project Name:youba
 * Package Name:com.inoneone.youba.mcht.conf
 * Date:2017/7/17下午2:44
 * Copyright (c) 2017, www.zbj.com All Rights Reserved
 */
package com.inoneone.youba.mcht.conf;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * Description: (描述) </br>
 * Date: 2017/7/17下午2:44 </br>
 *
 * @author 姬远玄
 * @since JDK 1.7
 */
@Service
public class ValueConfig {

    @Value("${msg.alibaba.accesskeyid:LTAIkkByqcEtGEMu}")
    private String accessKeyId;

    @Value("${msg.alibaba.accesskeysecret:zxSidOS5xCihc3doDsPq9WwoFHSMyg}")
    private String accessKeySecret;

    @Value("${risk.amount:2000.00}")
    private double riskAmount;

    @Value("${risk.interval.sec:60}")
    private int riskIntervalSec;

    @Value("${risk.lessBalance:200.00}")
    private BigDecimal riskLessBalance;

    @Value("${wechat.appid:1}")
    private String appId;

    @Value("${wechat.appsecret:2}")
    private String appSecret;

    @Value("${server.domain:https://m.youba8.com/}")
    private String serverDomain;

    @Value("${login.fail.times:6}")
    private int loginFailTimes;

    @Value("${login.safe.Sec:7200}")
    private long loginSafeSec;

    @Value("${verify.expire.Sec:300}")
    private int verifyExpireSec;

    @Value("${verify.max.count:5}")
    private int verifyMaxCount;

    @Value("${mobile.interval.sec:60}")
    private int mobileIntervalSec;

    public int getMobileIntervalSec() {
        return mobileIntervalSec;
    }

    public void setMobileIntervalSec(int mobileIntervalSec) {
        this.mobileIntervalSec = mobileIntervalSec;
    }

    public int getVerifyExpireSec() {
        return verifyExpireSec;
    }

    public void setVerifyExpireSec(int verifyExpireSec) {
        this.verifyExpireSec = verifyExpireSec;
    }

    public int getVerifyMaxCount() {
        return verifyMaxCount;
    }

    public void setVerifyMaxCount(int verifyMaxCount) {
        this.verifyMaxCount = verifyMaxCount;
    }

    public long getLoginSafeSec() {
        return loginSafeSec;
    }

    public void setLoginSafeSec(long loginSafeSec) {
        this.loginSafeSec = loginSafeSec;
    }

    public int getLoginFailTimes() {
        return loginFailTimes;
    }

    public void setLoginFailTimes(int loginFailTimes) {
        this.loginFailTimes = loginFailTimes;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getServerDomain() {
        return serverDomain;
    }

    public void setServerDomain(String serverDomain) {
        this.serverDomain = serverDomain;
    }

    public double getRiskAmount() {
        return riskAmount;
    }

    public void setRiskAmount(double riskAmount) {
        this.riskAmount = riskAmount;
    }

    public int getRiskIntervalSec() {
        return riskIntervalSec;
    }

    public void setRiskIntervalSec(int riskIntervalSec) {
        this.riskIntervalSec = riskIntervalSec;
    }

    public String getAccessKeyId() {
        return accessKeyId;
    }

    public void setAccessKeyId(String accessKeyId) {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public BigDecimal getRiskLessBalance() {
        return riskLessBalance;
    }

    public void setRiskLessBalance(BigDecimal riskLessBalance) {
        this.riskLessBalance = riskLessBalance;
    }
}
